.container {
  background: #f9f9f9;
}
.cate-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  .cate-nav-body {
    height: 80rpx;
    line-height: 76rpx;
    text-align: center;
    white-space: nowrap;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    .item {
      display: inline-block;
      min-width: 130rpx;
      padding: 0 15rpx;
      .name {
        padding: 0 20rpx;
        color: #333;
        font-size: 30rpx;
        width: auto;
      }
    }
    .active .name {
      color: #ab2b2b;
      border-bottom: 2px solid currentColor;
    }
  }
}

.cate-item {
  margin-top: 94rpx;
  height: auto;
  overflow: hidden;
  .header {
    height: 145rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .name {
      margin-bottom: 18rpx;
      font-size: 30rpx;
      color: #333;
    }
    .desc {
      font-size: 24rpx;
      color: #999;
    }
  }
  .content {
    display: flex;
    flex-wrap: wrap;
    .item {
      width: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #fff;
      text-align: center;
      border-bottom: 6rpx solid #f4f4f4;
      &:nth-child(odd) {
        border-right: 6rpx solid #f4f4f4;
      }
      image {
        width: 300rpx;
        height: 300rpx;
      }
      .name {
        width: 100%;
        padding: 0 20rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 30rpx;
        color: #333;
      }
      .price {
        margin: 20rpx 0;
        font-size: 30rpx;
        color: #b4282d;
      }
    }
  }
}
